package com.lh.item.pojo;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 库存信息
 *
 * @author liuhe
 * @date 2020/06/23
 */
@Table(name = "tb_stock")
@Setter
@Getter
public class StockDo {

    /**
     * 库存对应的商品sku id
     */
    @Id
    private Long skuId;
    private Long seckillStock;
    private Long seckillTotal;
    /**
     * 库存数量
     */
    private Long stock;
}
